#ifndef STATUSMONITORINGCONTROLLER_H
#define STATUSMONITORINGCONTROLLER_H

#include <QObject>
#include "../../view/systemInformation/statusmonitoringview.h"
#include "../../model/systemInformation/statusmonitoringmodel.h"

class StatusMonitoringController : public QObject
{
    Q_OBJECT
public:
    explicit StatusMonitoringController(QObject *parent = nullptr);
    ~StatusMonitoringController();
    void show(QVBoxLayout *vLayout, int stretch);//显示
    //显示推进状态
    void setPropulsionStatus(DisplayPropulsionStatus state);
    //列车注册状态
    void setTrainRegistrationStatus(bool state);
    //门使能状态指示灯
    void setDoorEnableStatus(DoorEnableStatus state);
    //PSD状态指示灯
    void setPsdStatus(PsdStatus state);
    //显示开门/关门状态
    void setDoorStatus(DoorStatus state);
    //显示“保持列车”指示灯
    void setHoldTrain(bool state);
    //显示列车停止窗口状态
    void setTrainStoppingWindowType(TrainStoppingWindowType type);
    //跳停
    void setSkipStation(bool state);
    //列车紧急制动指示灯
    void setTrainEmergencyBrake(bool state);
    //门模式
    void setDoorModeType(DoorModeType mode);
private:
    //状态监测
    StatusMonitoringView *statusMonitoringView;
signals:

};

#endif // STATUSMONITORINGCONTROLLER_H
